# encoding=utf8
import sys
reload(sys)
sys.setdefaultencoding('utf8')
from ..MessageAnalysis import*

class JT_8805:
    result = []
    s=""
    def LogicAisle(self, protocolStr, header):
        count = 0
        s=protocolStr[count:count + 8]
        header.append("多媒体ID:"+ s +"\n")
        count = count +8
        s = protocolStr[count:count + 2]
        header.append("删除标志：" + s)
        if s=="00":
            header.append("保留" +"\n")
            count = count + 2
        elif s=="01":
            header.append("删除" + "\n")
            count = count + 2
        self.result = header
